page.tsx 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import Navigation from "@/components/navigation"
  2. import HeroSection from "@/components/hero-section"
  3. import FeaturesSection from "@/components/features-section"
  4. import InteractiveDemo from "@/components/interactive-demo"
  5. import PricingSection from "@/components/pricing-section"
  6. import TestimonialsSection from "@/components/testimonials-section"
  7. import FAQSection from "@/components/faq-section"
  8. import BlogSection from "@/components/blog-section"
  9. import Footer from "@/components/footer"
  10. import { ThemeProvider } from "@/components/theme-provider"
  11. export default async function LocalePage({
  12. params,
  13. }: {
  14. params: Promise<{ locale: string }>
  15. }) {
  16. const { locale } = await params
  17. return (
  18. <ThemeProvider attribute="class" defaultTheme="light" enableSystem disableTransitionOnChange>
  19. <div className="min-h-screen bg-background">
  20. <Navigation locale={locale} />
  21. <main>
  22. <HeroSection locale={locale} />
  23. <FeaturesSection locale={locale} />
  24. <InteractiveDemo locale={locale} />
  25. <PricingSection locale={locale} />
  26. <TestimonialsSection locale={locale} />
  27. <FAQSection locale={locale} />
  28. <BlogSection locale={locale} />
  29. </main>
  30. <Footer locale={locale} />
  31. </div>
  32. </ThemeProvider>
  33. )
  34. }